package com.zhuangwei.sell.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * 卖家(登录后台使用, 卖家登录之后可能直接采用微信扫码登录，不使用账号密码)
 *
 * @author LeviCoder
 * @create 2019-02-28 22:46
 */
@Entity
@DynamicUpdate
@Data
public class SellerInfo {


    @Id
    private String id;

    private String username;

    private String password;

    /*微信openid*/
    private String openid;

    /*创建时间*/
    private Date createTime;

    /*修改时间*/
    private Date updateTime;
}
